--[[/**
-- * 
 * 砍一刀 给自己吸属性
 * 给敌方上个buff
-- */]]

---@class BuffEffect495100 : BaseBuffEffect
BuffEffect495100 = ClientFight.CreateClass("BuffEffect495100", ClientFight.BaseBuffEffect)
local t = BuffEffect495100

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local parameters = {...};
    local target = parameters[1];
    local skill = parameters[2];
    --偷属性给自己
    BuffManager.addBuff(fight, skill, buff.target, buff.target, false, buff.buffBean.f_BuffEffectValue[1], 1);
    --给目标上个buff
    BuffManager.addBuff(fight, skill, buff.target, target, false, buff.buffBean.f_BuffEffectValue[2], 1);

    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()